using System;
using System.ComponentModel;
using System.Linq;

using Newtonsoft.Json;
using Newtonsoft.Json.Linq;

namespace ApiTest2.Entitys
{
    /// <summary>
    /// 系统版本
    /// </summary>  
    /// <remarks>
    /// <![CDATA[ENGINE=InnoDB  COMMENT='系统版本']]>
    /// </remarks>
    [DbSource("Default"), Serializable]
    public class SysVersion
    {
        /// <summary>
        /// version_id
        /// </summary>
        /// <remarks>
        /// <![CDATA[int NOT NULL COMMENT '']]>
        /// </remarks>
        [Primary(Automatic = true)]
        public int VersionId { get; set; }

        /// <summary>
        /// 系统代号
        /// </summary>
        /// <remarks>
        /// <![CDATA[varchar(12) NOT NULL COMMENT '系统代号']]>
        /// </remarks>
        [Column(12, false)]
        [DisplayName("系统代号")]
        public string SysCode { get; set; }

        /// <summary>
        /// version_no
        /// </summary>
        /// <remarks>
        /// <![CDATA[varchar(64) NOT NULL COMMENT '']]>
        /// </remarks>
        [Column(64, false)]
        public string VersionNo { get; set; }

        /// <summary>
        /// 主题
        /// </summary>
        /// <remarks>
        /// <![CDATA[varchar(64) DEFAULT NULL COMMENT '主题']]>
        /// </remarks>
        [Column(64)]
        [DisplayName("主题")]
        public string Title { get; set; }

        /// <summary>
        /// 内容介绍
        /// </summary>
        /// <remarks>
        /// <![CDATA[varchar(255) DEFAULT NULL COMMENT '内容介绍']]>
        /// </remarks>
        [Column(255)]
        [DisplayName("内容介绍")]
        public string Content { get; set; }

        /// <summary>
        /// 发布时间
        /// </summary>
        /// <remarks>
        /// <![CDATA[datetime NOT NULL COMMENT '发布时间']]>
        /// </remarks>
        [Column(false)]
        [DisplayName("发布时间")]
        public DateTime PublishTime { get; set; }

        /// <summary>
        /// create_time
        /// </summary>
        /// <remarks>
        /// <![CDATA[datetime NOT NULL COMMENT '']]>
        /// </remarks>
        [Column(false)]
        public DateTime CreateTime { get; set; }

    }
}
